package bean;

import java.math.BigDecimal;

/**
 * @author 栋
 * @date 2022/11/25
 * @description
 */
public class Bank {
    private String credit_number;
    private String pwd;
    private BigDecimal money;

    public Bank() {
    }

    public Bank(String credit_number, String pwd, BigDecimal money) {
        this.credit_number = credit_number;
        this.pwd = pwd;
        this.money = money;
    }

    public String getCredit_number() {
        return credit_number;
    }

    public void setCredit_number(String credit_number) {
        this.credit_number = credit_number;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Bank{" +
                "credit_number='" + credit_number + '\'' +
                ", pwd='" + pwd + '\'' +
                ", money=" + money +
                '}';
    }
}
